package com.chrray.position.domain.dto.search;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 用户企业认证信息 参数层对象
 * 	BaseParam 为公共分页参数对象
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "用户企业认证信息")
public class FdAuthEnterpriseSearch extends BaseParam {

	@ApiModelProperty(value = "主键")
	private Long id;

	@ApiModelProperty(value = "关联用户id")
	private Long userId;

	@ApiModelProperty(value = "营业执照照片")
	private String certImg;

	@ApiModelProperty(value = "企业名称")
	private String enterpriseName;

	@ApiModelProperty(value = "统一社会信用代码")
	private String regNum;

	@ApiModelProperty(value = "编号")
	private String serial;

	@ApiModelProperty(value = "法人姓名")
	private String legalRepresentative;

	@ApiModelProperty(value = "组织形式:个体经营/有限责任公司")
	private String typeOfOrganization;

	@ApiModelProperty(value = "注册日期/成立日期")
	private String registeredDate;

	@ApiModelProperty(value = "营业期限")
	private String validPeriod;

	@ApiModelProperty(value = "认证时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	private Integer delFlag;


}
